﻿using Micro.Extensions.Utilities;
using System;
using System.Threading.Tasks;

namespace Micro.Srv.LogCenter.Services.Interfaces
{
    public interface ILogService
    {
        Task<ComResult<MessageViewModel>> GetLogByObjectIdAsync(string id, DateTime beginTime, DateTime endTime);

        Task<ComResult<MessageViewModel[]>> GetLogsAsync(LogSearchCondition condition, int pageIndex, int pageSize);
    }
}